<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class OrderLogistics extends BaseModel
{
    //订单物流详情
    use HasFactory;
    protected $table = 'order_logistics';
    // 允许批量操作的字段
    protected $fillable = [
        'order_id',
        'finish_product_id',
        'logistics_status',
        'logistics_info',
        'delivery_time',
        'num',
        'sent_num',
        'to_be_sent_num',
        'remark',
        'created_at','updated_at'];

    public function scopeSearch($query,$params)
    {

        return $query;
    }
}
